MoveDialogItem
NEW WITH THE APPEARANCE MANAGER
Moves a dialog item to a specified location in a window.
pascal OSErr MoveDialogItem ( DialogPtr inDialog, SInt16 inItemNo, SInt16 inHoriz, SInt16 inVert);
inDialog
- A pointer to a dialog structure.
inItemNo
- A signed 16-bit integer representing the number of the dialog item within the item list.
inHoriz
- A signed 16-bit integer representing the horizontal coordinate to which the dialog item should be moved.
inVert
- A signed 16-bit integer representing the vertical coordinate to which the dialog item should be moved.
- function result
- A result code; see "Result Codes".
DISCUSSION
TheMoveDialogItem
function moves a dialog item to a specified location in a window.MoveDialogItem
ensures that if the item is a control, the control rectangle and the dialog item rectangle (maintained by the Dialog Manager) are always the same.SEE ALSO
"Appearance Manager Gestalt Selector Constants".